<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>让元素看不见</title>
    <style>
        /* div{
            display: none;
        }
        div{
            visibility: hidden;            
        }
        div{
            opacity: 0;
        } */
        /* div{
            position: relative;
            left: -1000px;
        } */
        /* div{            
            transform: scale(0);
        } */
        div{
            position: relative;
            z-index: 0;
        }
    </style>
</head>
<body>
    <div>哈哈哈</div>
</body>
</html>